Span Calculator
This calculates the margin requirement for a list of input positions.
Request to be POSTed to uri : /NorenWClientTP/SpanCalc
Request Details :
Json Fields | Possible value | Description |
---|---|---|
actid* | Any Account id, preferably actual account id if sending from post login screen. | |
pos* | Array of json objects. (object fields given in below table) |
Position structure as follows:
Json Fields | Possible value | Description |
---|---|---|
prd | C / M / H | Product |
exch | NFO, CDS, MCX ... | Exchange |
instname | FUTSTK, FUTIDX, OPTSTK, FUTCUR... | Instrument name |
symname | USDINR, ACC, ABB,NIFTY.. | Symbol name |
exd | 29-DEC-2022 | DD-MMM-YYYY format |
optt | CE, PE | Option Type |
strprc | 11900.00, 71.0025 | Strike price |
buyqty | Buy Open Quantity | |
sellqty | Sell Open Quantity | |
netqty | Net traded quantity |
Response Details :
Json Fields | Possible value | Description |
---|---|---|
stat | Ok or Not_Ok | Market watch success or failure indication. |
span | Span value | |
expo | IExposure margin | |
span_trade | Span value ignoring input fields buyqty, sellqty | |
expo_trade | Exposure margin ignoring input fields buyqty, sellqty |
Sample Success Response :
{ "request_time": "11:01:59 25-11-2022", "stat": "Ok", "span": "19416.00", "expo": "4338.34", "span_trade": "19416.00", "expo_trade": "4338.34" }